import Vue from 'vue'
import Router from 'vue-router'
import RegistrationAgreement from '@/components/RegistrationAgreement'
import ServeAgreement from '@/components/ServeAgreement'
import CompensatoryAgreement from '@/components/CompensatoryAgreement'
import apply from '@/components/apply'
import applyInfo from '@/components/applyInfo'
import tradeResult from '@/components/tradeResult'
import stageList from '@/components/stageList'
import qrcode from '@/components/qrcode'
import orderDetail from '@/components/orderDetail'

Vue.use(Router)

export default new Router({
  routes: [{
    path: '/',
    name: 'home',
    component: apply
  }, {
    path: '/registrationagreement',
    name: 'rgreement',
    component: RegistrationAgreement
  }, {
    path: '/serveagreement',
    name: 'serveagreement',
    component: ServeAgreement
  }, {
    path: '/compensatoryagreement',
    name: 'compensatoryagreement',
    component: CompensatoryAgreement
  }, {
    path: '/apply',
    name: 'apply',
    component: apply
  }, {
    path: '/info',
    name: 'info',
    component: applyInfo
  }, {
    path: '/tradeResult',
    name: 'tradeResult',
    component: tradeResult
  }, {
    path: '/stageList',
    name: 'stageList',
    component: stageList
  }, {
    path: '/qrcode',
    name: 'qrcode',
    component: qrcode
  }, {
    path: '/orderdetail',
    name: 'orderdetail',
    component: orderDetail
  }]
})
